package com.cskaoyan.controller.user;

import com.cskaoyan.bean.BaseRespVo;
import com.cskaoyan.bean.bo.user.AdminUserListBO;
import com.cskaoyan.bean.vo.user.AdminFootprintVO;
import com.cskaoyan.service.user.AdminFootprintService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 冯子靖
 * @Description:
 * @Date: 2022/7/18 17:17
 */
@RestController
@RequestMapping("admin/footprint")
public class AdminFootprintController {
    @Autowired
    AdminFootprintService adminFootprintService;

    @RequestMapping("list")
    public BaseRespVo printAdminFootprint(AdminUserListBO adminUserListBO) {
        AdminFootprintVO adminFootprintVO = adminFootprintService.printAdminFootprint(adminUserListBO);
        return BaseRespVo.ok(adminFootprintVO);
    }
}
